package com.wqm.step.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Isolation;
import org.springframework.transaction.annotation.Transactional;

import com.wqm.step.dao.PersonDao;
import com.wqm.step.pojo.Person;
import com.wqm.step.service.PersonService;

@Service
public class PersonServiceImpl implements PersonService {

	@Autowired
	private PersonDao personDao;
	
	//@Transactional(isolation=Isolation.REPEATABLE_READ)
	public List<Person> findAll() {
		System.out.println("service");
		return personDao.findAll();
	}

}
